projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc180f5
)
upgrader: Hold a ref to the origin
author
Colin Walters
<walters@verbum.org>
Tue, 30 Sep 2014 14:22:57 +0000
(10:22 -0400)
committer
Colin Walters
<walters@verbum.org>
Tue, 30 Sep 2014 15:02:14 +0000
(11:02 -0400)
We unref it in _finalize, so we need to hold a ref. I *thought*
this was the source of
https://github.com/projectatomic/rpm-ostree/issues/30
But apparently not =/
src/libostree/ostree-sysroot-upgrader.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-sysroot-upgrader.c
b/src/libostree/ostree-sysroot-upgrader.c
index 10cddea0034b67e01de40cdf3b9af95cb076ca49..315b7cff989fe682e3561668ec03efca3f336012 100644
(file)
--- a/
src/libostree/ostree-sysroot-upgrader.c
+++ b/
src/libostree/ostree-sysroot-upgrader.c
@@
-142,6
+142,7
@@
ostree_sysroot_upgrader_initable_init (GInitable *initable,
ostree_deployment_get_deployserial (self->merge_deployment));
goto out;
}
+ g_key_file_ref (self->origin);
if (!parse_refspec (self, cancellable, error))
goto out;